﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
    /// <summary>
    /// 房型表
    /// </summary>
    /// 

    [Table("Stare")]
    public class Stare
    {
        /// <summary>
        /// 主键
        /// </summary>

        [Key]
         public int StareId { get; set; }


        public int StarePteaId { get; set; }

        /// <summary>
        /// 房型名称
        /// </summary>
        /// 
        public string StareName { get; set; }


        /// <summary>
        /// 可住人数
        /// </summary>
          public int Num {  get; set; }

        /// <summary>
        ///房型大小
        /// </summary>
        public int StareMax { get; set; }

        /// <summary>
        /// /图片
        /// </summary>
         public string StareImg {  get; set; }
         
        /// <summary>
        /// 备注
        /// </summary>
         public string  StareType { get; set; } 

         
        /// <summary>
        /// 居住时间
        /// </summary>
         public DateTime StareDate { get; set; }=DateTime.Now;

        /// <summary>
        /// 是否加床
        /// true:不需要
        /// false:需要
        /// </summary>

        public bool State { get; set; } = true;






         





    }
}
